/*
 * $Id: rgs.h,v 1.2 2006-02-16 07:14:39 bacon Exp $
 */

#ifndef _XP_MSW_RGS_H_
#define _XP_MSW_RGS_H_

#include <xp/types.h>
#include <xp/macros.h>

typedef struct xp_rgs_t xp_rgs_t;
typedef struct xp_rgsval_t xp_rgsval_t;

struct xp_rgs_t
{
	xp_bool_t __dynamic;
};

struct xp_rgsval_t
{
	int       type;
	void*     data;
	xp_size_t size;
};

#ifdef __cplusplus
extern "C" {
#endif

xp_rgs_t* xp_rgs_open (xp_rgs_t* rgs);
int xp_rgs_close (xp_rgs_t* rgs);

#ifdef __cplusplus
}
#endif

#endif
